using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace XiaoYuStock.Model.Models
{
    [Table("ShareList")]
    public partial  class ShareList
    {

		/// <summary>
        ///Id
        /// </summary>
		[Key,DatabaseGenerated(DatabaseGeneratedOption.Identity),Required]
		public int Id { get; set; }

		/// <summary>
        ///ShareName
        /// </summary>
		[Required,MaxLength(50)]
		public string ShareName { get; set; }

		/// <summary>
        ///ShareCode
        /// </summary>
		[Required,MaxLength(20)]
		public string ShareCode { get; set; }

		/// <summary>
        ///Status
        /// </summary>
		[Required]
		public int Status { get; set; }

		/// <summary>
        ///MarketDate
        /// </summary>
		[Required]
		public DateTime MarketDate { get; set; }

		/// <summary>
        ///CreateDate
        /// </summary>
		[Required]
		public DateTime CreateDate { get; set; }

		/// <summary>
        ///TotalCapital
        /// </summary>
		[Required]
		public decimal TotalCapital { get; set; }

		/// <summary>
        ///CirculateCapital
        /// </summary>
		[Required]
		public decimal CirculateCapital { get; set; }

		public string CategoryCode { get; set; }

		/// <summary>
        ///ShareType
        /// </summary>
		public int? ShareType { get; set; }

        public string ShareSubType { get; set; }

		/// <summary>
        ///Remark
        /// </summary>
		[MaxLength(500)]
		public string Remark { get; set; }

		/// <summary>
        ///Url
        /// </summary>
		[MaxLength(500)]
		public string Url { get; set; }


        public DateTime? ModifyDate { get;set; }
        public int? Flag { get; set; }



        [MaxLength(10)]
        public string PinyinCode { get; set; }
    }
}

